<%@ page language="java" import="java.util.*" import="java.text.*" import="java.sql.Date" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<base href="<%=basePath%>">

		<title>My JSP 'find_event_level.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css"
			rel="stylesheet" />
		<script type="text/javascript" src="/ag/js/dialog/jquery-1.4.2.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.bgiframe-2.1.1.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.core.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.widget.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.mouse.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.button.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.draggable.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.position.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.resizable.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.ui.dialog.js"></script>
		<script type="text/javascript"
			src="/ag/js/dialog/jquery.effects.core.js"></script>
		<link type="text/css" href="/ag/zrt/css/common.css" rel="stylesheet" />
		<script type="text/javascript" src="/ag/zrt/js/bbs_general.js"></script>
		
		<script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js" defer="defer"></script>

	</head>

	<body>
		<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  			<tr><td height="35px">
  			<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  			<tr>
  				<td width="9" background="wzp/images/tab_12.gif">&nbsp;</td>
  				<td bgcolor="#dceffd">
  				<div>
					<table id="queryArea" width="100%" align="center">
				<tr>
					<td align="left">
					<div style="padding-top:10">
						<div>
						<span>
							标题
							<input id="search_title" type="text" style="width:400"/>
						</span>
						</div>
						<div style="margin-top:20">
						<span class="span">
						日期
						<input id="search_date" type="text" class="Wdate" style="width:100"
								  onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" />
						</span>
						<span>
							类型
							<select id="search_type" style="width:150">
								<option>全部</option>
							</select>
						</span>
						<span>
							范围
							<select id="search_area">
								<option id="all_area" selected>全部</option>
							<option id="shistory" >历史</option>
							</select>
						</span>
						<span>
							审核
							<select id="search_ratify">
								<option id="id1" value="0" selected>全部</option>
								<option id="id2" value="1">待审</option>
								<option id="id3" value="2">通过</option>
								<option id="id4" value="3">不通过</option>
							</select>
						</span>
						<span>
							阅读
						<select  id="search_read">
							<option id="read1" value="2" selected>全部</option>
							<option id="read2" value="1">已读</option>
							<option id="read3" value="0">未读</option>
						</select>
						</span>
						<input type="button" id="for_search" value="搜索"/>
						</div>
						<td align="right">
					      <div>
					        <button id="add" style="background:url('/ag/images/add_info_mout.gif');border:0;width:85px;height:30px">
        					</button>
						  </div>
						</td>
					</div>	
					</td>
					</tr>
				</table>	
    		</div>
  		
 	 		</td>
	  		<td width="9" background="wzp/images/tab_16.gif">&nbsp;</td>
	  	</tr>
	  	</table></td>
	  </tr>
	  <tr><td height="29">
	  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td width="15" height="29"><img src="wzp/images/tab_20.gif" width="15" height="29" /></td>
	        <td width="100%" background="wzp/images/tab_21.gif"></td>
	        <td width="14"><img src="wzp/images/tab_22.gif" width="14" height="29" /></td>
	      </tr>
	    </table></td>
	  </tr>
	</table>	
	
		<table width="100%" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr >
				<td height="30">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
      				<tr style="height:30px">
        				<td width="15" height="30"><img src="tab/images/tab_03.gif" width="15" height="30" /></td>
        				<td width="1690" background="tab/images/tab_05.gif">
        					<img src="tab/images/311.gif" width="16" height="16" /> 
        					<span class="STYLE4">信息简报</span>
        					<span>
        						<select id="sortWay">
        							<option id="100">按日期排序</option>
        							<option id="101">按类型排序</option>
        							<option id="102">按状态排序</option>
        						</select>
        					</span>
        					<a href="javascript:;"><span id="search" style="font-size:0.9em;margin-left:7px">搜索</span></a>
       	    			</td>
        				
        				<td width="150" background="tab/images/tab_05.gif" style="font-size:0.9em">
        					共<span id="total_information"></span>条
        				</td>
						<td width="100" background="tab/images/tab_05.gif" style="font-size:0.9em">
							第<span id="current_page"></span>/<span id="total_pages"></span>页
						</td>
        				<td width="14"><img src="tab/images/tab_07.gif" width="14" height="30" /></td>
      				</tr>
    			</table>
					
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" >
						<tr>
							<td width="9" background="tab/images/tab_12.gif">
								&nbsp;
							</td>
							<td bgcolor="#dceffd">
								<table width="99%" border="0" align="center" cellpadding="0" 
									cellspacing="1" bgcolor="#84b1d3">
									<thead>
									<tr>
										<!-- <td width="8%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1" style="display: none">
											<div align="center" class="STYLE1">
												简报ID
											</div>
										</td> -->
										<!--<td width="15%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												作者/单位
											</div>
										</td>  -->
										<td width="20%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												发布时间
											</div>
										</td>
										<td width="25%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												标题(点击查看)
											</div>
										</td>									
										<td width="15%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												信息类型
											</div>
										</td>
										<td width="10%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												审核状态
											</div>
										</td>
										<td width="10%" height="18" background="tab/images/tab_14.gif"
											class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												阅读状态
											</div>
										</td>
									</tr>
							</thead>
							<tbody id="informatinoQuery">
									<!--<c:forEach var='list' items='${infoList}'
										varStatus='status'>
										<tr class="list">
											<!-- <td bgcolor="#FFFFFF" align="center" style="display: none">
												${list.IId}
											</td>
											<td bgcolor='#FFFFFF' align='center'>
											   <fmt:formatDate 
											    	value="${list.IDate}"
											   		type="both"
											   		pattern="yyyy年MM月dd日hh时mm分ss秒"
											   />
											   					   
											</td>
											<td bgcolor="#FFFFFF" align="center">		
												<a href="javascript:;" id="${list.IId}" >${list.IInfo}</a>							
											</td>
											<td bgcolor="#FFFFFF" align="center">	
												${list.tbInforType.itType}									
											</td>
											<c:if test="${list.IState == '1'}">
												<td bgcolor="#FFFFFF" align="center">
													待审
												</td>
											</c:if>
											<c:if test="${list.IState == '2'}">
												<td bgcolor="#FFFFFF" align="center">
													通过
												</td>
											</c:if>
											<c:if test="${list.IState == '3'}">
												<td bgcolor="#FFFFFF" align="center">
													不通过
												</td>
											</c:if>
											<c:if test="${list.b == '0'}">
												<td bgcolor="#FFFFFF" align="center" style="color:red">
													未读
												</td>
											</c:if>
											<c:if test="${list.b == '1'}">
												<td bgcolor="#FFFFFF" align="center">
													已读
												</td>
											</c:if>										
										</tr>
									</c:forEach>-->
									</tbody>
								</table>
							</td>
							<td width="9" background="tab/images/tab_16.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="29">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="29">
								<img src="tab/images/tab_20.gif" width="15" height="29" />
							</td>
							<td background="tab/images/tab_21.gif" width="100%">

							</td>
							<td width="14">
								<img src="tab/images/tab_22.gif" width="14" height="29" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table border="0" style="width:100%">
						<tr style="width:30%">
							<td class="page_change" valign="top">
							<span id="first_page">首页</span>
							<span id="prev_page">上一页</span>
							<span id="next_page">下一页</span>
							<span id="last_page">尾页</span>
							<span id="return">返回</span>
							<span style="text-decoration:none">
								第
								<input type="text" id="inputPage" style="width:20px"/>
								页
							</span>
							<span id="jumpTo">跳转</span>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>

			<div id="dialog_add" title="新增">
				<p class="validateTips" style="20px">
					
				</p>
				<form>
					<fieldset>
					<table border="0px" style="width:100%;">
						<tr>
							<td style="display:none" >
							Id
							</td>
							<td>
							<input type="text" name="msgId_add" id="msgId_add"
								style="display: none"
								class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>
						<!--<tr>
							<td style="width:80px">
								作者/单位
							</td>
							<td>
								<input type="text" name="author_add" id="author_add"
								style="width:50%;margin:0" class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>-->
						<tr>
							<td style="width:70px">
								标题
							</td>
							<td colspan="2">
								<input type="text" name="title_add" id="title_add"
								style="width:80%;margin:0;" class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>
						<tr>
							<td>
								信息类型
							</td>
							<td>							
								<select id="select_add" style="width:200px">			
								<option id="default" selected value="请选择">请选择</option>		 
								</select>			
								<a href="###" style="margin-left:5px" class="typeAdd">添加类型</a>				
								<img alt="" src="/ag/zrt/images/del.gif" class="typeDel">
							</td>
						</tr>
						<tr>
							<td valign="top">
								正文
							</td>
							<td style="height:100px" colspan="2">
								<textarea name="detail_add" id="detail_add" rows="15"
								style="margin:0;width: 95%; padding: .4em; overflow-y: auto" class="ui-widget-content ui-corner-all"></textarea>
							</td>
						</tr>
					</table>
					</fieldset>
				</form>
			</div>

			<!-- 确认修改 <input type="button" value="修改" class="_modify"/> -->
			<div id="modify_confirm">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span>确定修改？
				</p>
			</div>

			<!-- 操作成功 -->
			<div id="operation_succ">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span><span id="succ_msg"></span>
				</p>
			</div>
			
			<!-- 操作失败 -->
			<div id="operation_fail">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span><span id="fail_msg"></span>
				</p>
			</div>
			
			<!-- 操作失败之详细信息 -->
			<div id="operation_fail_detail">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span><span id="fail_detail" ></span>
				</p>
			</div>

			<!-- 确认增加-->
			<div id="add_confirm">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span>确定增加此记录？
				</p>
			</div>

			<!-- 确认 删除-->
			<div id="delete_confirm">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span>确定删除此记录？
				</p>
			</div>
			
			<!-- 增加类型-->
			<div id="add_newType">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span><span class="type_warning">请输入新类型名称</span>
				</p>
				<input type="text" id="newType"/>
			</div>
			
			<!--删除类型-->
			<div id="delete_type">
				<p>
					<span class="ui-icon ui-icon-alert"
						style="float: left; margin: 0 7px 20px 0;"></span><span class="type_warning">确定删除如下类型</span>
				</p>
				<div id="show_type" align="center"></div>
			</div>

			<div id="dialog_modify" title="修改">
				<p class="validateTips" style="20px">
				</p>
				<form>
					<fieldset>
					<table border="0px" style="width:100%;">
						<tr>
							<td style="display:none" >
							Id
							</td>
							<td>
							<input type="text" name="msgId_modify" id="msgId_modify"
								style="display: none"
								class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>
						<!--<tr>
							<td style="width:80px">
								作者/单位
							</td>
							<td>
								<input type="text" name="author_add" id="author_add"
								style="width:50%;margin:0" class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>-->
						<tr>
							<td style="width:70px">
								标题
							</td>
							<td>
								<input type="text" name="title_modify" id="title_modify"
								style="width:80%;margin:0;" class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>
						<tr>
							<td>
								信息类型
							</td>
							<td>							
								<select id="select_modify">					
								
								</select>
								<a href="###" style="margin-left:5px" class="typeAdd">添加类型</a>
								<img alt="" src="/ag/zrt/images/del.gif" class="typeDel">
							</td>							
						</tr>
						<tr>
							<td valign="top">
								正文
							</td>
							<td style="height:100px">
								<textarea name="detail_modify" id="detail_modify" rows="15"
								style="margin:0;width: 95%; padding: .4em; overflow-y: auto" class="ui-widget-content ui-corner-all"></textarea>
							</td>
						</tr>
					</table>
					</fieldset>
				</form>
			</div>
			
			<!--  查看息信简报-->
			<div id="dialog_watch" title="查看">
				<!--  <p class="validateTips">
					带"*"为必填项
				</p>-->
				
				<form>
					<fieldset>
						<table border="0px" style="width:90%;" align="center">
						<tr style="display:none" >
							<td id="id_watch">
							Id
							</td>
						</tr>
						<!--  <tr>
							<td style="width:80px">
								作者/单位
							</td>
							<td>
								<input type="text" name="author_watch" id="author_watch"
								style="width:50%;margin:0" class="text ui-widget-content ui-corner-all" />
							</td>
						</tr>-->
						<tr >
							<td colspan="2" align="center">
								<span style="font-size:2em;" id="title_watch"></span>
							</td>
						</tr>
						<tr>
							<td style="width:50%;height:50px;" align="center">
								分类:<span id="type_watch"></span>
							</td>
							<td style="width:50%" align="center">
								发布日期:<span id="date_watch"></span>							
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<div id="detail_watch" style="width:100%;height:400px;overflow:auto;"></div>
							</td>
						</tr>
					</table>
					</fieldset>
				</form>
			</div>
			<!-- 当前页面的查看类型 （全部，历史，未读） 
			<div style="">
			<span  id="_searchTitle"></span>
			<span  id="_searchDate"></span>
			<span  id="_searchType"></span>
			<span  id="_searchRatify"></span>
			<span  id="_searchRead"></span>
			<span  id="_searchArea"></span>
			<span  id="_sortWay"></span>
			</div>-->
			
	</body>
</html>
